﻿//---------------------------------------------------------------------------------------------
//  Copyright 2009 Jeremy Palenchar
//  http://identitynotes.palenchar.net
//
//  This file is part of the Identity Notes Identity Notes Sample Custom Activity Library.
//
//  The Identity Notes Sample Custom Activity Library is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  The Identity Notes Sample Custom Activity Library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//  
//  You should have received a copy of the GNU General Public License
//  along with The Identity Notes Sample Custom Activity Library.  If not, see <http://www.gnu.org/licenses/>.
//--------------------------------------------------------------------------------------------

using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace IdentityNotes.Examples.CustomActivityLibrary
{
    public partial class SendEmailToMobilePhoneActivity : SequenceActivity
    {
        public SendEmailToMobilePhoneActivity()
        {
            InitializeComponent();
        }

        public static DependencyProperty EmailBodyProperty = DependencyProperty.Register("EmailBody", typeof(System.String), typeof(CustomActivityLibrary.SendEmailToMobilePhoneActivity));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Misc")]
        public String EmailBody
        {
            get
            {
                return ((string)(base.GetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.EmailBodyProperty)));
            }
            set
            {
                base.SetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.EmailBodyProperty, value);
            }
        }

        public static DependencyProperty FromProperty = DependencyProperty.Register("From", typeof(System.String), typeof(CustomActivityLibrary.SendEmailToMobilePhoneActivity));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Misc")]
        public String From
        {
            get
            {
                return ((string)(base.GetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.FromProperty)));
            }
            set
            {
                base.SetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.FromProperty, value);
            }
        }

        public static DependencyProperty SubjectProperty = DependencyProperty.Register("Subject", typeof(System.String), typeof(CustomActivityLibrary.SendEmailToMobilePhoneActivity));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Misc")]
        public String Subject
        {
            get
            {
                return ((string)(base.GetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.SubjectProperty)));
            }
            set
            {
                base.SetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.SubjectProperty, value);
            }
        }

        public static DependencyProperty CellOperatorProperty = DependencyProperty.Register("CellOperator", typeof(System.String), typeof(CustomActivityLibrary.SendEmailToMobilePhoneActivity));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Properties")]
        public String CellOperator
        {
            get
            {
                return ((string)(base.GetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.CellOperatorProperty)));
            }
            set
            {
                base.SetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.CellOperatorProperty, value);
            }
        }

        public static DependencyProperty CellNumberProperty = DependencyProperty.Register("CellNumber", typeof(System.String), typeof(CustomActivityLibrary.SendEmailToMobilePhoneActivity));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Properties")]
        public String CellNumber
        {
            get
            {
                return ((string)(base.GetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.CellNumberProperty)));
            }
            set
            {
                base.SetValue(CustomActivityLibrary.SendEmailToMobilePhoneActivity.CellNumberProperty, value);
            }
        }


    }
}
